package com.alm.handle.core.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.List;

@Data
@TableName("alm_dev_command")
public class SysDevCommand {

    /** 编号id */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /** 设备指令名称. */
    @TableField(value = "`name`")
    private String name;

    /** 指令类型. */
    @TableField(value = "`type`")
    private Integer type;

    /** 蓝牙指令. */
    @TableField(value = "`command`")
    private String command;

    /** 指令组. */
    @TableField(value = "`group`")
    private Character group;

    /** 指令所属的设备类型（0x80网关、0x42插座）. */
    @TableField(value = "`dev_type`")
    private Short devType;

    /** 添加时间. */
    @TableField(value = "`add_time`")
    private Long addTime;

    @TableField(value = "`remark`")
    private String remark;

    @TableField(value = "`update_time`")
    private Long updateTime;


    @TableField(value = "byte_data")
    private String byteData;

    @TableField(value = "command_type")
    private String commandType;


    @TableField(exist = false)
    private String deviceId;

    @TableField(exist = false)
    private Integer cmdId;

    @TableField(exist = false)
    private Integer cmdType;

    @TableField(exist = false)
    private List<Integer> lineIdList;
}
